package com.sugon.interfaceImpl;

import com.sugon.newInterface.AInterface;
import com.sugon.newInterface.BInterface;

/**
 * @author LUOYUAN
 * @create 2018-12-06-23:59
 */
public class ABinterfaceImpl implements AInterface, BInterface {
    @Override
    public void m1() {

    }

    @Override
    public void m2() {

    }

    /**
     * 防止编译器混淆，两个接口方法相同，必须覆盖，问题来自于多继承
     */
    @Override
    public void m3() {
        AInterface.super.m3();
        BInterface.super.m3();
    }
}
